package com.raverun.imovies.jadeditor;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
import org.eclipse.ui.IPlaceholderFolderLayout;


public class Perspective implements IPerspectiveFactory
{
    public void createInitialLayout( IPageLayout layout )
    {
        String editorArea = layout.getEditorArea();
        layout.setEditorAreaVisible( true );
        layout.setFixed( false );

        IPlaceholderFolderLayout placeholder = layout.createPlaceholderFolder( "bottom", IPageLayout.BOTTOM, 0.35f,
                editorArea );
        placeholder.addPlaceholder( "com.raverun.imovies.jadeditor.urlmatcher" );
    }
}
